package ABBB;

public class Phone {
    private  String brand;
    private String xinghao;

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getXinghao() {
        return xinghao;
    }

    public void setXinghao(String xinghao) {
        this.xinghao = xinghao;
    }

    public Phone(String brand, String xinghao) {
        this.brand = brand;
        this.xinghao = xinghao;
    }
    public  void senMassage(){
        System.out.println("可以发短信");
    }
    public  void phone(){
        System.out.println("可以打电话");
    }
    public  void shangwang(){
        System.out.println("可以上网");
    }
    public  void takephone(){
        System.out.println("可以拍照");
    }
}
